package com.lizhenyao.waimai.repository;

import com.lizhenyao.waimai.dataobject.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;

/**
 * @Author: lizhenyao
 * @Desciption:
 */
public interface ProductInfoRepository extends JpaRepository<ProductInfo, String>{

    List<ProductInfo> findByProductStatus(Integer status);


}
